package com.kgc.service.interf.user;

import com.kgc.entity.User;

/**
 * @author hyj
 * @time 2024/4/2 15:58
 * @describe
 */

public interface OwnerService {
    /**
     * 查询个人信息
     *
     * @param id id
     * @return User
     */
    User getOwner(Integer id);

    /**
     * 更新个人信息
     *
     * @param id       id
     * @param username username
     * @param email    email
     * @return 1success 0fail
     */
    int updateOwner(Integer id, String username, String email);
}
